/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.stream.Collectors;

/**
 * <p>Project: app2022 - Nio2
 * <p>Powered by webrx On 2022-01-20 11:25:43
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Nio2 {
    public static void main(String[] args) throws IOException {
        String info = Files.newBufferedReader(Paths.get("src.txt")).lines().collect(Collectors.joining("\n"));
        System.out.println(info);
    }
}
